<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="X-UA-Compatible" CONTENT="IE=EmulateIE8" />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<link type="text/css" href="${ctx}/css/global.css" rel="stylesheet" />
<link type="text/css" href="${ctx}/css/reset.css" rel="stylesheet" />
<link type="text/css" href="${ctx}/css/xsb.css" rel="stylesheet" />
<link rel="stylesheet" href="${ctx}/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="${ctx}/bootstrap-select-1.12.4/dist/css/bootstrap-select.css">

<link href="${ctx}/dashGum/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="${ctx}/dashGum/assets/js/gritter/css/jquery.gritter.css" />
<link rel="stylesheet" type="text/css" href="${ctx}/dashGum/assets/lineicons/style.css">    
<!-- Custom styles for this template -->
<link href="${ctx}/dashGum/assets/css/style.css" rel="stylesheet">
<link href="${ctx}/dashGum/assets/css/style-responsive.css" rel="stylesheet">

<script type="text/javascript" src="${ctx}/res/libs/easyui/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${ctx}/res/libs/easyui/jquery-ui-1.10.3.custom.min.js"></script>
<%-- <script type="text/javascript" src="${ctx}/res/libs/easyui/plugins/jquery.messager.js?v140218"></script>
 --%>
 <script type="text/javascript" src="${ctx}/res/libs/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="${ctx}/res/libs/jquery.colorpicker.js"></script>
<script type="text/javascript" src="${ctx}/res/libs/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/js/common/json.js"></script>
<script type="text/javascript" src="${ctx}/bootstrap/js/bootstrap.min.js"></script>
<script src="${ctx}/bootstrap-select-1.12.4/dist/js/bootstrap-select.js"></script>
<script src="${ctx}/bootstrap-select-1.12.4/dist/js/i18n/defaults-zh_CN.min.js"></script>
<script src="${ctx}/dashGum/assets/js/jquery.scrollTo.min.js"></script>
<script src="${ctx}/dashGum/assets/js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="${ctx}/dashGum/assets/js/jquery.sparkline.js"></script>
<!--common script for all pages-->
<script type="text/javascript" src="${ctx}/dashGum/assets/js/gritter/js/jquery.gritter.js"></script>
<script type="text/javascript" src="${ctx}/dashGum/assets/js/gritter-conf.js"></script>

<script type="text/javascript" >
$.ctx='${ctx}';
/**
 * 增加命名空间方法<br>
 * <p>
 * 用法：$.namespace("a.b.c"); a.b.c.testFunction=function(...);
 */
$.extend($, {
	namespace : function() {
		var o = null, d = null;
		for (var i = 0, len = arguments.length; i < len; i++) {
			d = arguments[i].split(".");
			o = window[d[0]] = window[d[0]] || {};
			var left = d.slice(1);
			for (var i = 0, len = left.length; i < len; i++) {
				o = o[left[i]] = o[left[i]] || {};
			}
		}
		return o;
	},
	SUCCESS : "1",
	ERROR : "-1"
});
/**
 * 判断是否为空
 *
 * @param str
 * @returns {Boolean}
 */
function isEmpty(str) {
	if (str != "" && str != null && str.length != 0) {
		return false;
	} else {
		return true;
	}
} 
</script>